import com.alibaba.nacos.shaded.com.google.gson.Gson;
import com.happy.common.core.utils.poi.ExcelUtil;
import com.happy.common.security.utils.SecurityUtils;
import com.happy.system.controller.EmployeeController;
import com.happy.system.domain.Employee;
import com.happy.system.service.IEmployeeService;
import com.qiniu.common.QiniuException;
import com.qiniu.http.Response;
import com.qiniu.storage.Configuration;
import com.qiniu.storage.Region;
import com.qiniu.storage.UploadManager;
import com.qiniu.storage.model.DefaultPutRet;
import com.qiniu.util.Auth;


import java.io.*;
import java.util.List;


public class ExcelTestt {
    public static void main(String[] args) throws FileNotFoundException {
        String path="D:/cxfenxi/jijiest2.xlsx";
        File file=new File(path);
        FileInputStream fileInputStream=new FileInputStream(file);
        ExcelUtil<Employee> util = new ExcelUtil<Employee>(Employee.class);
        List<Employee> employeeList = util.importExcel(fileInputStream);
        System.out.println(employeeList);
    }



}
